﻿namespace LiftHub.ViewModels.Pages;

public abstract class PageModelBase : ViewModelBase
{
    private bool isFirst = true;
    protected abstract void Init();

    public void InitModel()
    {
        if (isFirst)
            Init();
        isFirst = false;
    }
}